import os
import rtconfig
from building import *

cwd = GetCurrentDir()

src = Split('''
    driver/baseStation.cpp
    driver/devuart.cpp 
    driver/devcan.cpp
    driver/common.cpp
    rtool/sysapi.cpp
    driver/devio.cpp
    driver/aviodSensor.cpp
    driver/motorLimSensor.cpp
    test.c
    test_cpp.cpp
    robot_init.c
    rtool/robot_list.cpp
    rcore/core.cpp
    driver/buscan.cpp
    driver/canMotor.cpp
''')


src_debug = Split(''' 

''')


path =  [cwd]
path += [cwd + '/include/']
path += [cwd + '/rtool/']

group = DefineGroup('robot', src, depend = [''], CPPPATH = path)

Return('group')
